import { getRecommendBannerApi } from "../recommend";

// 推荐广告轮播
export interface adFocusPictureDetailModel {
    adId: number,
    link: string,
    realLink: string,
    cover: string,
    displayType: number,
    clickType: number,
    openlinkType: number,
    adType: number,
    isAd: boolean,
    targetId: number,
    clickAction: number,
    buttonShowed: boolean
}


export interface focusImageModel {
    responseId: string,
    categoryId: number,
    showTokens: [],
    clickTokens: string[],
    adFocusPictureDetail?: adFocusPictureDetailModel[]
}
export interface tomatoeModel {
    img: string;
    name: string;
    link: string;
    order: number
}

export type tomatoes = tomatoeModel[]
export interface moduleContentModel {
    focusImages: focusImageModel[],
    pictures: string[],
    tomatoes: tomatoes,
    moduleRankDatas: []
}

export interface moduleContentModel {
    moduleKey: string,
    moduleType: string,
    moduleContent: moduleContentModel
}

export interface recommendBannerResponseData {
    moduleKey: string,
    moduleType: string,
    moduleContent: moduleContentModel
}


// 热门推荐
export interface albumsModel {
    albumId: number,
    albumPlayCount: number,
    albumTrackCount: number,
    albumCoverPath: string,
    albumTitle: string,
    albumUserNickName: string,
    anchorId: number,
    anchorGrade: number,
    mvpGrade: number,
    isDeleted: boolean,
    isPaid: boolean,
    isFinished: number,
    anchorUrl: string,
    albumUrl: string,
    intro: string,
    vipType: number,
    logoType: number,
    albumSubscript: number
}

export type albumsList = albumsModel[]

export interface recommendResponse {
    currentUid: number,
    total: number,
    pageNum: number,
    pageSize: number,
    albums: albumsList
}